#include "Widget.h"
#include "Welcome.h"

#include <QApplication>

GameMap* gameMap;
Tank* player[4];

int main(int argc, char *argv[])
{
    QApplication a(argc, argv);
    Welcome welcome;
    Widget w(nullptr);
    if(welcome.exec() == QDialog::Accepted)
    {
        w.exec();

    }
qDebug()<<"已经显示游戏界面";
    return 0;
}
